#16
|
|||
|
|||
it's strange that you cannot go to the provided link: it is up...
anyway here is the program, from vortex.masmcode.com and thanks for the /Zm tip I was unaware of... bilbo |
#17
|
|||
|
|||
Quote:
|
#18
|
|||
|
|||
@ Av0id, ragdog
I think our importing problems are related to the calling convention adopted, which is supposedly != stdcall @ bridgeic it sounds like you are a very unluck man... I tried the program on all masm32 libs without problems... Best regards, bilbo |
#19
|
|||
|
|||
Quote:
I don't know why I can't download your attachement in exetools forum. Not sure whether the file lib2inc I used is same with yours, I download it from http://www.winasm.net/library-to-include.html Anyway, based on your guide below, I wrote a perl script to solve it as workround. @4 means the total number of bytes required by function arguments Thanks, bridgeic |
#20
|
|||
|
|||
Quote:
|
#21
|
|||
|
|||
.686
.model flat, stdcall ;32 bit memory model option casemap :none ;case sensitive include windows.inc include kernel32.inc includelib kernel32.lib |
#22
|
|||
|
|||
Quote:
When I set it as your suggestion, RadASM give error below when compile, would you help check why? D:\RadASM_2.2.1.9\Masm32\Include\windows.inc(11326) : error A2005: symbol redefinition : Red D:\RadASM_2.2.1.9\Masm32\Include\windows.inc(11327) : error A2005: symbol redefinition : Green D:\RadASM_2.2.1.9\Masm32\Include\windows.inc(11328) : error A2005: symbol redefinition : Blue D:\RadASM_2.2.1.9\Masm32\Include\windows.inc(12224) : error A2005: symbol redefinition : fReserved D:\RadASM_2.2.1.9\Masm32\Include\windows.inc(18572) : error A2005: symbol redefinition : Type1 D:\RadASM_2.2.1.9\Masm32\Include\windows.inc(18617) : error A2005: symbol redefinition : Type1 D:\RadASM_2.2.1.9\Masm32\Include\windows.inc(18621) : error A2005: symbol redefinition : Type1 D:\RadASM_2.2.1.9\Masm32\Include\windows.inc(18624) : fatal error A1010: unmatched block nesting Thanks, bridgeic |
#23
|
|||
|
|||
Quote:
question1: When I set it as your suggestion, RadASM give error below when compile, would you help check why? D:\RadASM_2.2.1.9\Masm32\Include\windows.inc(11326) : error A2005: symbol redefinition : Red D:\RadASM_2.2.1.9\Masm32\Include\windows.inc(11327) : error A2005: symbol redefinition : Green D:\RadASM_2.2.1.9\Masm32\Include\windows.inc(11328) : error A2005: symbol redefinition : Blue D:\RadASM_2.2.1.9\Masm32\Include\windows.inc(12224) : error A2005: symbol redefinition : fReserved D:\RadASM_2.2.1.9\Masm32\Include\windows.inc(18572) : error A2005: symbol redefinition : Type1 D:\RadASM_2.2.1.9\Masm32\Include\windows.inc(18617) : error A2005: symbol redefinition : Type1 D:\RadASM_2.2.1.9\Masm32\Include\windows.inc(18621) : error A2005: symbol redefinition : Type1 D:\RadASM_2.2.1.9\Masm32\Include\windows.inc(18624) : fatal error A1010: unmatched block nesting question 2: after remove "include windows.inc", it can be compiled succesfully, but when do LINK in VC, it still reports errors below, how to solve this issue? error LNK2019: Unresolved external symbol _GetModuleHandleA Thanks, bridgeic |
#24
|
|||
|
|||
Send me you Project
I look into |
#25
|
|||
|
|||
Hi ragdog,
Would you help me have a look on question 1 first? I'll try to upload the test case for question 2 tomorrow, it's a little big. In fact, it's FlexLM SDK 11.4, if you have it already, I need only share two files then. Thanks, bridgeic |
#26
|
|||
|
|||
I cannot answer your questions without see your source ;-)
But i think your have trouble with the includes |
#27
|
|||
|
|||
Quote:
For question 1, please get the asm source code as attached, thank you. |
#28
|
|||
|
|||
Hi ragdog,
Another help please, can you run the program lib2inc22.exe that bilbo shared succesfully? Thanks, bridgeic |
#29
|
|||
|
|||
Hi ragdog,
Question 1. seems the errors caused by /Zm option Question 2. Sorry, the test case upload always failed for the slow network speed. Thanks, bridgeic |
#30
|
|||
|
|||
To convert it to compile it with masm is to many works
What make _tolower convert it uppercase letter to lower? Example ABCD to abcd? Or what make this source? /Zm option Enables M510 option for maximum compatibility with MASM 5.1. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile eror | rcer | General Discussion | 8 | 06-25-2013 18:21 |
Why this error report in RadASM? | bridgeic | General Discussion | 3 | 04-02-2013 17:36 |