![]() |
|
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
Quote:
|
|
#3
|
|||
|
|||
|
@ 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 |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
Quote:
|
|
#6
|
|||
|
|||
|
.686
.model flat, stdcall ;32 bit memory model option casemap :none ;case sensitive include windows.inc include kernel32.inc includelib kernel32.lib |
|
#7
|
|||
|
|||
|
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 |
|
#8
|
|||
|
|||
|
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 |
|
#9
|
|||
|
|||
|
Send me you Project
I look into |
|
#10
|
|||
|
|||
|
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 |
|
#11
|
|||
|
|||
|
I cannot answer your questions without see your source ;-)
But i think your have trouble with the includes |
|
#12
|
|||
|
|||
|
Quote:
For question 1, please get the asm source code as attached, thank you. |
|
#13
|
|||
|
|||
|
Hi ragdog,
Another help please, can you run the program lib2inc22.exe that bilbo shared succesfully? Thanks, bridgeic |
|
#14
|
|||
|
|||
|
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 |
|
#15
|
|||
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |