WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
What is FASM G
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
Pages (3) [1] 2 3   ( Go to first unread post )

Amezing Error in Process32First, Process32First can't linking...

ASMpower
Quote Post


New Member
*

Group: Members
Posts: 14
Member No.: 25497
Joined: 15-August 09


Hi i want get one process info try with this code and can't made exe:

CODE

.386
.model flat, stdcall
option casemap:none

include  EXE.inc

.code
start:
       call Process32First  
invoke MessageBox, NULL,addr MsgBoxText, addr MsgCaption, MB_OK
invoke ExitProcess,NULL
end start

with bare bone EXE project ...

why the winasm have error :
CODE

LINK : fatal error LNK1181: cannot open input file "C:\myproj\EXE.obj"

Make finished. 2 error(s) occured.


why this function on kernel32.dll :-?

Sponsored Links
PMEmail Poster
Top
shoorick
Quote Post


Extremely Active Member
******

Group: Admins
Posts: 2342
Member No.: 160
Joined: 22-June 04


linker clearly says: there is no exe.obj
either should be assembling error also, or you try to link executable without assembling.
try "go all", and if there still will be an error - post full your project here packed in zip.
PMEmail PosterUsers Website
Top
ASMpower
Quote Post


New Member
*

Group: Members
Posts: 14
Member No.: 25497
Joined: 15-August 09


Hi thank for your answer I attach complete project .



Attached File ( Number of downloads: 4 )
 Login or Register to download
PMEmail Poster
Top
ASMpower
Quote Post


New Member
*

Group: Members
Posts: 14
Member No.: 25497
Joined: 15-August 09


Is that winasm bug or my assembler have problem ?
i have tired to fix and don't have result and i check with MELT add-in:

CODE


A2006:

An attempt was made to use a symbol that was not defined.

One of the following may have occurred:
*A symbol was not defined.
*A field was not a member of the specified structure.
*A symbol was defined in an include file that was not included.
*An external symbol was used without an EXTERN or EXTERNDEF directive.
*A symbol name was misspelled.
*A local code label was referenced outside of its scope.


only for Process32First it is interest problem plz help me about it.
PMEmail Poster
Top
huntingspace
Quote Post


Very Active Member
****

Group: Members
Posts: 60
Member No.: 49504
Joined: 11-February 12


do you try to create bat file and compile with following options:
:huh:
ml /coff /c EXE.asm
if exist EXE.obj link /SUBSYSTEM:WINDOWS /OUT:EXE.exe EXE.obj
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Pages (3) [1] 2 3  Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian
Google